package com.example.mapper;

import com.example.entity.Learningrange;

import java.util.List;

public interface LearningrangeMapper {

    /*
     * 新增
     * */
    int insert(Learningrange learningrange);

    /*
     * 删除
     * */
    void deleteById(Integer id);

    /*
     * 修改
     * */
    int updateById(Learningrange learningrange);

    /*
     * 根据ID查询
     * */
    Learningrange selectById(Integer id);

    Learningrange selectByUid(Integer uid);

    /*
     * 查询所有
     * */
    List<Learningrange> selectAll(Learningrange learningrange);
}
